    <div class="content col-xs-12 col-sm-10">
                        <div class="banner">
                            <p class="fl">栏目管理   &nbsp; &nbsp;|| &nbsp; &nbsp;  <a href="/catalog/add">添加栏目</a></p>
                        </div>
                        <div class="table">
                            <table>
                                <thead>
                                    <tr>
                                        <td>ID</td>
                                        <td>导航显示</td>
                                        <td>标题</td>
                                        <td>序号</td>
                                        <td>操作</td>
                                    </tr>
                                </thead>
                                <tbody>
                        <?php 
                                foreach ($list as $item):
                        ?>
                                    <tr>
                                    <td><?=$item['id']?></td>
                                
                        <?php  
                                 
                            $status = $item['enable'];
                            if($status == 0){
                                echo '<td><a href="/catalog/status/'.$item['id'].'/1" class="red">不显示</a></td>';
                            }
                            else{
                                echo '<td><a href="/catalog/status/'.$item['id'].'/0" class="green">显示</a></td>';
                            }
                           
                            ?>
                            <td><?=$item['title']?></td>
                            <td><?=$item['orders']?></td>
                            <td>
                            <?php
                            if ($item['id'] > 5){
                              echo '<a href="/catalog/delete/'.$item['id'].'">删除</a>';
                            }
                            ?>

                            <a href="/catalog/update/<?=$item['id']?>">修改</a></td>
                        </tr>
                      
                     <?php endforeach; ?>
                                           
                </tbody>
                                
                            </table>
                        </div>
                    
                   <!--  <div class="page">
              <div class="big first fl">首页</div>
              <div class="big fl">←</div>
              <div class="num cur fl">1</div>
              <div class="num fl">2</div>
              <div class="num fl">3</div>
              <div class="num fl">4</div>
              <div class="num fl">5</div>
              <div class="big fl">→</div>
              <div class="big last fl">末页</div>
            </div> -->
                </div>
            </div>
        </div>
        
       